package com.ydx.meituan.config.constants;


public interface OrderStatusNo {
    int ORDER_STATE_CREATE = 1;//创建订单
    int ORDER_STATE_ACCEPTED = 2;//已接单
    int ORDER_STATE_REFUSE = 3;//拒绝接单
    int ORDER_STATE_PASSENGER_ON_CAR = 4;//乘客上车
    int ORDER_STATE_PASSENGER_ARRIVED = 5;//到达目的地
    int ORDER_STATE_REQUEST_PRICE = 6;//司机确认费用
    int ORDER_STATE_COMPLETE = 7;//完成
    int ORDER_STATE_PASSENGER_EVALUATE = 8;//乘客评价
    int ORDER_STATE_REFUND_COMPLETE = 9;//退款完成
    int ORDER_STATE_CANCEL = 10;//取消订单
    int ORDER_STATE_STANDBY = 11;//待订
    int ORDER_STATE_TRANSFER=20;//转单
    int ORDER_STATE_PICK_PASSENGER=22;//出发
    int ORDER_STATE_PAUSE=30;
    int ORDER_STATE_CONTINUE =31;

    int ORDER_DRIVER_ON_SITE=33; //司机到达起点

    int ORDER_START_WAIT=40; //开始等侯计时
    int ORDER_END_WAIT=41; //结束等侯计时

    int[] ORDER_STATE_ARRAY_ALL = new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,33,22};//所有状态订单
    int[] ORDER_STATE_ARRAY_ALL_FOR_DRIVER = new int[]{2, 3, 4, 5, 6, 7, 8, 9, 10, 11,33,22};//所有状态订单(厉旭要求)
    int[] ORDER_STATE_ARRAY_NOT_COMPLETE = new int[]{1, 2, 3, 4, 5, 6,33,22};//未完成订单
    int[] ORDER_STATE_ARRAY_NOT_COMPLETE_FOR_DRIVER = new int[]{2, 3, 4, 5,33,22};//未完成订单(厉旭要求)   20/5/8  去掉 5, 6 状态
    int[] ORDER_STATE_ARRAY_COMPLETE = new int[]{6,7, 8, 11};//已完成订单  20/5/9 增加 6 状态
    int[] ORDER_STATE_ARRAY_CANCEL = new int[]{9,10};//已取消订单

    int[] ORDER_STATE_ON_ROAD = new int[]{2, 22,33, 4,30,31,40,41};//出发至到达目的地状态
    int[] ORDER_STATE_COMPLETED = new int[]{5, 6, 7,8};//到达目的地状态

    int BUNDLE_INITIAL=0;
    int BUNDLE_ASSIGN=1;
    int BUNDLE_ACCEPT=2;
    int BUNDLE_REFUSE=3;
    int BUNDLE_DISMISS=4;
    int BUNDLE_COMPLETE=5;
    int BUNDLE_CONFIRM=6;

    int BUNDLE_TYPE_INSTANT = 1;
    int BUNDLE_TYPE_RESERVATION = 0;
}
